package MountainMq.po;


import MountainMq.enummeration.TransMessageType;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

@Getter
@Setter
@ToString
public class TransMessagePO {
    // 这里使用的UUID，完全不会重复
    private String id;
    // id和service组成联合主键
    private String service;
    // 消息类型
    private TransMessageType type;
    private String exchange;
    private String routingKey;
    private String queue;
    // 重试第几次
    private Integer sequence;
    // 消息内容
    private String payload;
    private Date date;
    private int isDel;
}
